<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:p="http://primefaces.org/ui"
    xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">

	<p:panelGrid
		columns="2"
		cellpadding="5"
		columnClasses="column1, column2">

		<p:outputLabel value="评分" />
		<h:outputText value="#{tradeRating.score}" />
		<p:outputLabel value="服务质量" />
		<h:outputText value="#{tradeRating.quality}" />

		<p:outputLabel value="服务时限" />
		<h:outputText value="#{tradeRating.effectiveness}" />

		<p:outputLabel value="服务态度" />
		<h:outputText value="#{tradeRating.attitude}" />

		<p:outputLabel value="服务收费" />
		<h:outputText value="#{tradeRating.charge}" />

		<p:outputLabel value="服务规范" />
		<h:outputText value="#{tradeRating.standard}" />
		
		<p:outputLabel value="追加评价" rendered="#{not empty tradeRating.additionalTradeRating}"></p:outputLabel>
		<h:outputText value="#{tradeRating.additionalTradeRating.content}" rendered="#{not empty tradeRating.additionalTradeRating}" />
		
	</p:panelGrid>

</ui:composition>